#include "stdafx.h"
#include "RFDeviceObjectNet.h"
#include "include\RFDevice.h"
using namespace RFDeviceNet;

RFDeviceObjectNet::RFDeviceObjectNet()
{
	_rfDeviceObject = new RFDevice::RFDeviceObject();
}

RFDeviceObjectNet::RFDeviceObjectNet(RFDevice::RFDeviceObject* device)
{
	_rfDeviceObject = device;
}

RFDeviceObjectNet::~RFDeviceObjectNet(void)
{
	_rfDeviceObject->~RFDeviceObject();
	_rfDeviceObject = NULL;
}

bool RFDeviceObjectNet::Initialize()
{
	return RFDevice::Initialize();
}

void RFDeviceObjectNet::Cleanup()
{
	RFDevice::Cleanup();
}

System::String^ RFDeviceObjectNet::RFDevice_GetVersionString()
{
	System::String^ s;
	s = gcnew System::String(RFDevice::RFDevice_GetVersionString());
	return s;
}
